<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('AdminApptest/index')}">所有应用测试表</a></li>
        <li class="active"><a href="#">添加应用测试表</a></li>
    </ul>
    <form action="{:url('AdminApptest/addPost')}"
          method="post" class="form-horizontal js-ajax-form margin-top-20">
        <div class="row">
            <div class="col-md-8">
            	<style>.leftdata th{ text-align:right}.leftdata,.leftdata>tbody>tr>th,.leftdata>tbody>tr>td{ border:none;}.rightdata>tbody>tr>th{ background:#e8edf0;}
				.rightdata>tbody>tr>th,.rightdata>tbody>tr>td{ border:1px solid #ddd;}</style>
                <table class="table table-bordered leftdata">
                    <tr>
						<th width="15%">标题<span class="form-required">*</span></th>
						<td>
							<input class="form-control" type="text" name="title"
                                   required value=""  maxlength="255"
                                   placeholder="请输入标题"/>
						</td>
					</tr>
					<tr>
						<th>分类<span class="form-required">*</span></th>
						<td>
							<select title="请选择分类" class="form-control" name="cateid">
								{$cateid_tree|default=''}
							</select>
						</td>
					</tr>
					<tr>
						<th>启用<span class="form-required">*</span></th>
						<td>
							<input class="form-control" type="text" name="type1"
                                   required value="" 
                                   placeholder="请输入启用"/>
						</td>
					</tr>
					<tr>
						<th>性别<span class="form-required">*</span></th>
						<td>
							<select title="请选择性别" class="form-control" name="type2">
								{$type2_tree|default=''}
							</select>
						</td>
					</tr>
					<tr>
						<th>年龄<span class="form-required">*</span></th>
						<td>
							<input class="form-control" type="text" name="intfield"
                                   required value="" 
                                   placeholder="请输入年龄"/>
						</td>
					</tr>
					<tr>
						<th>毕业学校<span class="form-required">*</span></th>
						<td>
							<input class="form-control" type="text" name="field1"
                                   required value=""  maxlength="255"
                                   placeholder="请输入毕业学校"/>
						</td>
					</tr>
					<tr>
						<th>个性签名<span class="form-required">*</span></th>
						<td>
							<input class="form-control" type="text" name="field2"
                                   required value=""  maxlength="255"
                                   placeholder="请输入个性签名"/>
						</td>
					</tr>

                </table>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>
